package org.budo.graph;

/**
 * 常量
 * 
 * @author lmw
 */
public interface Constant {
    String DUBBO_NOTIFY_LISTENER = "com.alibaba.dubbo.registry.NotifyListener";

    String DRUID_TEMPLATE_PATH = "META-INF/resources/budo-druid";

    String GRAPH_TEMPLATE_PATH = "META-INF/resources/budo-graph";

    String URL_ROOT = "/budo-graph";

    interface DruidDubbo {
        String SESSION_ID_KEY = "SessionId";

        String REMOTE_ADDRESS_KEY = "RemoteAddress";

        String USER_AGENT_KEY = "userAgent";
    }

    interface Repository {
        String BUDO_GRAPH = "Budo:Graph";

        String LINKER = ":";

        String GRAPH_LINE_KEY = "key";

        String PARAMETER_TYPE = "type";

        String STAT_URI = "URI";

        String YYYY_MM_DD_HH_MM = "yyyyMMddHHmm";
    }

    interface ContentType {
        String TEXT_CSS = "text/css";

        String TEXT_HTML = "text/html";

        String APPLICATION_JSON = "application/json";

        String TEXT_JAVASCRIPT = "text/javascript"; 
    }
}